import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// 导入全局样式=>作用于：1.自己写的样式 2.三方组件库
import '@/style/global.less'
Vue.config.productionTip = false
Vue.use(ElementUI)

// 重写日志方法=》给方法重新赋值
// console.log = console.warn = console.dir = () => { }

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
